<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <title></title>
    <#include "../style.ftl" />
</head>
<body>
<div class="headerbox">
    <div class="header">
        <div class="headerL">
            <a onclick="javascript:history.back(-1)" class="goback"><img src="${staticPath}front/images/goback.png" /></a>
        </div>
        <div class="headerC">
            <p>我的订单</p>
        </div>
        <div class="headerR"></div>
    </div>
</div>
<div class="clear"></div>
<div class="hbox"></div>
<div class="myddstatu">
    <ul>
        <li <#if !params.orderStatus??>class="on"</#if>>
            <a href="${basePath}home/order/list">全部</a>
        </li>
        <li <#if params.orderStatus?? && params.orderStatus == 'W'>class="on"</#if>>
            <a href="${basePath}home/order/list?order_status=W">待发货</a>
        </li>
        <li <#if params.orderStatus?? && params.orderStatus == 'D'>class="on"</#if>>
            <a href="${basePath}home/order/list?order_status=D">待收货</a>
        </li>
        <li <#if params.orderStatus?? && params.orderStatus == 'R'>class="on"</#if>>
            <a href="${basePath}home/order/list?order_status=R">已退款</a>
        </li>
    </ul>
</div>
<div class="clear"></div>
<div class="myddcon">
    <#list orderList as order>
    <div class="myddcon1">
        <div class="dpbox">
            <div class="dpL">
            </div>
            <div class="dpR"><a href="${basePath}home/order/${order.id}">${order.orderStatusText!}</a></div>
        </div>
        <div class="shopbox">
            <div class="shopboxL">
                <img src="${imagesPath}${order.logo!}" />
            </div>
            <div class="shopboxR">
                <div class="shopboxR_1">
                    <div class="sbr1_1">${order.productNames!}</div>
                </div>
                <div class="shopboxR_2">
                    <p class="p3">${order.skuNames}</p>
                    <p class="p4">×${order.sumQty!}</p>
                </div>
            </div>
        </div>
        <div class="dphjbox">
            <p class="p5">共${order.productQty!}件商品，合计:<span>￥${order.orderTotalAmount!}</span></p>
        </div>
        <div class="dpbtn">
            <div class="dpbtn3">
                <a href="${basePath}home/order/${order.id}">查看详情</a>
            </div>
        </div>
    </div>
    </#list>
</div>
</body>
</html>
